<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
   
 </body>
 <script>
     function Student(name,age){
	    this.name = name;
		this.age = age;
		this.showInfo = function(){
		  console.log(this.name+","+this.age);
		}
	 }
	 var student = new Student("小美",12);
	 student.showInfo();
 </script>
</html>
